.class public Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;
.super Lcom/waiqin365/lightapp/kehu/view/CMCustomView;


# instance fields
.field private a:Landroid/widget/RadioGroup;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/content/Context;

.field private d:Ljava/lang/String;

.field private e:Ljava/lang/String;

.field private f:Z

.field private g:Landroid/view/View;

.field private h:Landroid/view/View;

.field private i:Lcom/waiqin365/compons/view/c;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 5

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->d:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->e:Ljava/lang/String;

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->f:Z

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->c:Landroid/content/Context;

    const-string/jumbo v0, "layout_inflater"

    invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    const v1, 0x7f030067

    invoke-virtual {v0, v1, p0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    const v0, 0x7f0c0083

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->g:Landroid/view/View;

    const v0, 0x7f0c005a

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->h:Landroid/view/View;

    const v0, 0x7f0c02c0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RadioGroup;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->a:Landroid/widget/RadioGroup;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->a:Landroid/widget/RadioGroup;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/view/ce;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/view/ce;-><init>(Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;)V

    invoke-virtual {v0, v1}, Landroid/widget/RadioGroup;->setOnCheckedChangeListener(Landroid/widget/RadioGroup$OnCheckedChangeListener;)V

    const v0, 0x7f0c02bf

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->b:Landroid/widget/TextView;

    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->c:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->c:Landroid/content/Context;

    const v3, 0x7f0806b1

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    sget v3, Lcom/waiqin365/compons/view/c;->b:I

    new-instance v4, Lcom/waiqin365/lightapp/kehu/view/cf;

    invoke-direct {v4, p0}, Lcom/waiqin365/lightapp/kehu/view/cf;-><init>(Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;)V

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->i:Lcom/waiqin365/compons/view/c;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->d:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->d:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->i:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method


# virtual methods
.method public c()Ljava/lang/CharSequence;
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->p:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->l:Ljava/lang/String;

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->b:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public c_()Z
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->e:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method public d()Ljava/lang/CharSequence;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->d:Ljava/lang/String;

    return-object v0
.end method

.method public e()V
    .locals 4

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->l()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->l()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->m()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->d:Ljava/lang/String;

    invoke-static {v0, v1, v2, v3}, Lcom/waiqin365/lightapp/visit/c/b;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    return-void
.end method

.method public setBottomLineStatus(Z)V
    .locals 2

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->h:Landroid/view/View;

    if-eqz p1, :cond_0

    const/4 v0, 0x0

    :goto_0
    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    return-void

    :cond_0
    const/16 v0, 0x8

    goto :goto_0
.end method

.method public setEdit(Z)V
    .locals 2

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->f:Z

    const/4 v0, 0x0

    :goto_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->a:Landroid/widget/RadioGroup;

    invoke-virtual {v1}, Landroid/widget/RadioGroup;->getChildCount()I

    move-result v1

    if-ge v0, v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->a:Landroid/widget/RadioGroup;

    invoke-virtual {v1, v0}, Landroid/widget/RadioGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, p1}, Landroid/view/View;->setEnabled(Z)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    if-nez p1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->g:Landroid/view/View;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_1
    return-void
.end method

.method public setLabel(Ljava/lang/CharSequence;)V
    .locals 7

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->b:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    if-eqz p1, :cond_0

    invoke-interface {p1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->l:Ljava/lang/String;

    :cond_0
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->p:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->c:Landroid/content/Context;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->b:Landroid/widget/TextView;

    const/4 v2, 0x2

    invoke-interface {p1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    const v5, 0x7f020400

    new-instance v6, Lcom/waiqin365/lightapp/kehu/view/cg;

    invoke-direct {v6, p0}, Lcom/waiqin365/lightapp/kehu/view/cg;-><init>(Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;)V

    invoke-static/range {v0 .. v6}, Lcom/fiberhome/gaea/client/d/g;->a(Landroid/content/Context;Landroid/widget/TextView;ILjava/lang/String;Ljava/lang/String;ILcom/fiberhome/gaea/client/d/j;)V

    :cond_1
    return-void
.end method

.method public setMustinput(Ljava/lang/String;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMustinput(Ljava/lang/String;)V

    const-string/jumbo v0, "1"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->f:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->g:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public setSelectItem(Ljava/lang/String;)V
    .locals 9

    const/4 v2, 0x0

    const/4 v8, -0x1

    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    const/16 v0, 0x23

    invoke-static {p1, v0, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    move v1, v2

    :goto_0
    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_2

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_2

    new-instance v4, Landroid/widget/RadioButton;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->c:Landroid/content/Context;

    invoke-direct {v4, v0}, Landroid/widget/RadioButton;-><init>(Landroid/content/Context;)V

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

    invoke-virtual {v4, v0}, Landroid/widget/RadioButton;->setText(Ljava/lang/CharSequence;)V

    const-string/jumbo v0, "#1a1a1a"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v4, v0}, Landroid/widget/RadioButton;->setTextColor(I)V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v5, -0x2

    invoke-direct {v0, v8, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v4, v0}, Landroid/widget/RadioButton;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    const v0, 0x7f020173

    invoke-virtual {v4, v0}, Landroid/widget/RadioButton;->setButtonDrawable(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->c:Landroid/content/Context;

    const/high16 v5, 0x41900000    # 18.0f

    invoke-static {v0, v5}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v0

    iget-object v5, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->c:Landroid/content/Context;

    const/high16 v6, 0x41000000    # 8.0f

    invoke-static {v5, v6}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v5

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->c:Landroid/content/Context;

    const/high16 v7, 0x41200000    # 10.0f

    invoke-static {v6, v7}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v6

    invoke-virtual {v4, v0, v5, v2, v6}, Landroid/widget/RadioButton;->setPadding(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->a:Landroid/widget/RadioGroup;

    invoke-virtual {v0, v4}, Landroid/widget/RadioGroup;->addView(Landroid/view/View;)V

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iget-object v5, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->d:Ljava/lang/String;

    invoke-virtual {v0, v5}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    invoke-virtual {v4, v0}, Landroid/widget/RadioButton;->setChecked(Z)V

    :cond_0
    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-eq v1, v0, :cond_1

    new-instance v0, Landroid/view/View;

    iget-object v4, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->c:Landroid/content/Context;

    invoke-direct {v0, v4}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    iget-object v5, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->c:Landroid/content/Context;

    const/high16 v6, 0x3f000000    # 0.5f

    invoke-static {v5, v6}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v5

    invoke-direct {v4, v8, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const-string/jumbo v5, "#ededed"

    invoke-static {v5}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v5

    invoke-virtual {v0, v5}, Landroid/view/View;->setBackgroundColor(I)V

    iget-object v5, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->a:Landroid/widget/RadioGroup;

    invoke-virtual {v5, v0, v4}, Landroid/widget/RadioGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    :cond_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto/16 :goto_0

    :cond_2
    return-void
.end method

.method public setSingleSelectItem(Ljava/lang/String;)V
    .locals 7

    const/4 v6, -0x2

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->a:Landroid/widget/RadioGroup;

    invoke-virtual {v0, v2}, Landroid/widget/RadioGroup;->setOrientation(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->a:Landroid/widget/RadioGroup;

    invoke-virtual {v0}, Landroid/widget/RadioGroup;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->a:Landroid/widget/RadioGroup;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V

    const v0, 0x7f0c02be

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->b:Landroid/widget/TextView;

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v4, 0x50

    const/4 v5, 0x0

    invoke-direct {v3, v4, v6, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->a:Landroid/widget/RadioGroup;

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    const/high16 v4, 0x40000000    # 2.0f

    invoke-direct {v3, v2, v6, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V

    invoke-virtual {v1, v3}, Landroid/widget/RadioGroup;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->a:Landroid/widget/RadioGroup;

    invoke-virtual {v1}, Landroid/widget/RadioGroup;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout$LayoutParams;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->b:Landroid/widget/TextView;

    invoke-virtual {v3}, Landroid/widget/TextView;->getWidth()I

    move-result v3

    rsub-int/lit8 v3, v3, 0x50

    invoke-virtual {v1, v3, v2, v2, v2}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->a:Landroid/widget/RadioGroup;

    invoke-virtual {v3, v1}, Landroid/widget/RadioGroup;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->a:Landroid/widget/RadioGroup;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    const/16 v0, 0x23

    invoke-static {p1, v0, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    move v1, v2

    :goto_0
    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    new-instance v4, Landroid/widget/RadioButton;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->c:Landroid/content/Context;

    invoke-direct {v4, v0}, Landroid/widget/RadioButton;-><init>(Landroid/content/Context;)V

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

    invoke-virtual {v4, v0}, Landroid/widget/RadioButton;->setText(Ljava/lang/CharSequence;)V

    const-string/jumbo v0, "#1a1a1a"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v4, v0}, Landroid/widget/RadioButton;->setTextColor(I)V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const/high16 v5, 0x3f800000    # 1.0f

    invoke-direct {v0, v6, v6, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V

    invoke-virtual {v4, v0}, Landroid/widget/RadioButton;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v4}, Landroid/widget/RadioButton;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v5, 0xa

    invoke-virtual {v0, v5, v2, v2, v2}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    invoke-virtual {v4, v0}, Landroid/widget/RadioButton;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    const v0, 0x7f020173

    invoke-virtual {v4, v0}, Landroid/widget/RadioButton;->setButtonDrawable(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->a:Landroid/widget/RadioGroup;

    invoke-virtual {v0, v4}, Landroid/widget/RadioGroup;->addView(Landroid/view/View;)V

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iget-object v5, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->d:Ljava/lang/String;

    invoke-virtual {v0, v5}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    invoke-virtual {v4, v0}, Landroid/widget/RadioButton;->setChecked(Z)V

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    return-void
.end method

.method public setValue(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->d:Ljava/lang/String;

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->e:Ljava/lang/String;

    return-void
.end method

.method public setViewIgnore(Z)V
    .locals 1

    if-eqz p1, :cond_0

    const/16 v0, 0x8

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->setVisibility(I)V

    goto :goto_0
.end method
